package com.jiexin.service.impl;

import com.jiexin.dao.cat.CATChangeMapper;
import com.jiexin.dao.cat.CATMapper;
import com.jiexin.dao.dsh.DSHChangeMapper;
import com.jiexin.dao.dsh.DSHMapper;
import com.jiexin.service.ResultTabService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @Author:
 * @Description: result table service
 * @Trigger:
 * @Date:
 * @Modified By:
 */
@Slf4j
@Service
public class ResultTabServiceImpl implements ResultTabService {

    @Resource
    DSHMapper dshMapper;

    @Resource
    CATMapper catMapper;

    @Override
    public void executeDSHResultTabProce(Integer pid) throws RuntimeException{
        dshMapper.executeDSHMain(pid);
    }

    @Override
    public void executeCATResultTabProce(Integer pid) {
        catMapper.executeCATMain(pid);
    }
}
